import { FC } from "react";
import { useStore } from "react-redux";
import { ArticleSummaryList } from "../components/articleSummaryList";
import { RootState } from "../store/reducer";

export const Home: FC = () => {
    const store = useStore<RootState>();
    return (
        <ArticleSummaryList listData={store.getState().homeArticleList} />
    )
}